cmake_minimum_required(VERSION 3.2)
project(Storage_Oriented_Parallel_Advanced_Data_Structure)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror -O3")

set(SOURCE_FILES main.c database_interface.c database_type.c atomic_lib.c)
add_executable(Storage_Oriented_Parallel_Advanced_Data_Structure ${SOURCE_FILES} database_interface.h database_interface.c database_type.h database_type.c database_storage.h database_storage.c atomic_lib.h atomic_lib.c testcode.h testcode.c)
TARGET_LINK_LIBRARIES(Storage_Oriented_Parallel_Advanced_Data_Structure pthread)
